package com.iotproject.educenter.service;

import com.iotproject.educenter.entity.Member;
import com.iotproject.educenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-11-12
 */
public interface UcenterMemberService extends IService<Member> {

    String login(Member member);

    void register(RegisterVo registerVo);

    Member getOpenIdMember(String openid);

    Integer countRegisterDay(String day);

    void updateNickname(String userId, String newName);

    void updateAvatar(String userId, String avatar);

    void updatePassword(String userId, String password);

    void updateMobile(String userId, String mobile);

    Integer countLoginDay(String day);

}
